package org.dromara.pe.domain.bo;

import org.dromara.pe.domain.Certificate;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 体测合格证书业务对象 phy_pe_certificate
 *
 * @author Lion Li
 * @date 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Certificate.class, reverseConvertGenerate = false)
public class CertificateBo extends BaseEntity {

    /**
     * 逻辑主键
     */
    @NotNull(message = "逻辑主键不能为空", groups = { EditGroup.class })
    private Long certificateId;

    /**
     * 姓名
     */
//    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuName;

    /**
     * 学号
     */
//    @NotBlank(message = "学号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuNum;

    /**
     * 大一分数
     */
//    @NotBlank(message = "大一分数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String score1;

    /**
     * 大二分数
     */
//    @NotBlank(message = "大二分数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String score2;

    /**
     * 大三分数
     */
//    @NotBlank(message = "大三分数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String score3;

    /**
     * 大四分数
     */
//    @NotBlank(message = "大四分数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String score4;

    /**
     * 毕业分数
     */
//    @NotBlank(message = "毕业分数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String graduationScore;


}
